package com.ocom.oauth.client;

import com.ocom.common.constant.AiotUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "aiot")
public interface AiotClientService {
    // 2.3.1.获取用户信息（getUserInfo）
    @GetMapping(AiotUrl.URL_Aiot_GetUserInfo)
    public Result GetUserInfo(@RequestParam("account") String account);
}
